<?php

/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2016/3/25
 * Time: 18:56
 */
class Domain_PrizeRecord{
  /**
   * 获取今天相关奖品被中奖次数
   */
  public function getTodayPrize($prizeId){
    $Model_PrizeRecord=new Model_PrizeRecord();
    return $Model_PrizeRecord->getTodayPrize($prizeId);
  }

  /**
   *插入中奖纪录
   */
  public function InsertPrizedRecord($userid,$prizeId){
    $Model_PrizeRecord=new Model_PrizeRecord();
    $Model_PrizeRecord->InsertPrizedRecord($userid,$prizeId);
  }
}